﻿<include file="Common/header" />
<title>站点管理</title>
<style>
.norag { border: none !important; font-weight: normal !important }
.input-text, .select-box { width: 300px; border-radius: 3px; }
.formControls { float: left; margin-right: 20px; }
</style>
</head>

<body>
<nav class="breadcrumb"> <i class="Hui-iconfont"></i> 首页 <span class="c-gray en">&gt;</span> 站点管理 <span class="c-gray en">&gt;</span> 添加域名 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a> </nav>
<div class="pd-20">
  <form class="sites_add" action="" method="post">
    <input type="hidden" name="site_id" value="{$sid}"/>
    <table class="table table-border table-bg table-hover" style="border-top:none">
      <tbody>
        <tr>
          <td width="80">域名:</td>
          <td><div class="formControls">
              <input type="text" class="input-text radius" value="" ajaxurl="{:U('domain_check')}" placeholder="" name="domain" datatype="url" nullmsg="域名不能为空">
            </div>
            <div> </div></td>
        </tr>
        <tr>
          <td>备注:</td>
          <td><div class="formControls col-xs-8 col-sm-9" >
              <textarea class="textarea radius"  style="width:300px;" placeholder="说点什么..." rows="" cols="" name="remark"></textarea>
            </div></td>
        </tr>
        <tr>
          <td>状态:</td>
          <td><span class="select-box radius">
            <select class="select" size="1" name="status">
              <option value="1" selected>绑定</option>
              <option value="0">解绑</option>
            </select>
            </span> 设置网站开启或者关闭 </td>
        </tr>
      </tbody>
    </table>
    <div class="btn_wrap" style="margin-top:15px">
      <div class="btn_wrap_pd">
        <button class="btn btn-primary radius " type="submit" style="padding:0 22px">添加</button>
      </div>
    </div>
  </form>
</div>
 <script type="text/javascript">

$(function(){

 	$(".sites_add").Validform({tiptype:2,ajaxurl:{} });

});

</script>
</body>
</html>